package com.dailyblue.java.standard.design.策略模式;

public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }
    public void strategy(){
        strategy.chooseStrategy();
    }
}
